package com.group2.operations.model.vo;

import com.group2.operations.model.User;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class UserInfoVO implements Serializable{
    private static final long serialVersionUID = 4929843881248516770L;

    //真实姓名
    @NotBlank(message = "姓名不能为空")
    private String real;
    //身份证号
    @NotBlank(message = "身份证号不能为空")
    private String number;
    //电话号码
    @NotBlank(message = "电话号码不能为空")
    private String phone;
    //电子邮箱
    @NotBlank(message = "电子邮箱不能为空")
    private String email;
}
